package com.lbw.mapper;

import com.lbw.entity.TestEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lbw
 * @since 2020-09-13
 */
public interface TestEntityMapper extends BaseMapper<TestEntity> {

    /**
     * 抽取在线测试题目，不分单元,题目表
     * @param hashMap 条件
     */
    TestEntity selectOnlineQuestionTest(Map<String, Object> hashMap);

    /**
     * 抽取在线测试题目，不分单元，错题表
     * @param hashMap 条件
     */
    TestEntity selectOnlineWrongTest(Map<String, Object> hashMap);
}
